package com.example.qianjun.robotbetago;

/**
 * Created by qianjun on 2016/5/23.
 */
public class CheckBoard {
    public static int table_x = 9;
    public static char[][] table = new char[8][8];


    public static void init() {

        //桌面初始化
        for (int i = 0; i < 8; i++) {
            for (int j = 0; j < 8; j++) {
                table[i][j] = '#';
            }
        }

        //字母信息初始化
        table[5][0] = 'c';
        table[1][1] = 'p';
        table[4][1] = 'A';
        table[7][1] = 't';
        table[0][2] = 'D';
        table[4][2] = 'T';
        table[6][2] = 'P';
        table[7][2] = 'r';
        table[4][3] = 'a';
        table[5][3] = 'P';
        table[7][3] = 'P';
        table[0][4] = 'p';
        table[1][4] = 'd';
        table[4][4] = 'C';
        table[5][5] = 'p';
        table[7][5] = 'R';
    }

}
